package elements;

import java.sql.Timestamp;

import javax.swing.ImageIcon;

public class Comment{

	
	public int elementId;
	public int senderId;
	public String senderName;
	public ImageIcon senderPhoto;
	public Timestamp pubblicationTime;
	public String body;
	
	
	public Comment(int elementId, int senderId, String senderName,
			ImageIcon senderPhoto, Timestamp pubblicationTime, String body) {
		super();
		this.elementId = elementId;
		this.senderId = senderId;
		this.senderName = senderName;
		this.senderPhoto = senderPhoto;
		this.pubblicationTime = pubblicationTime;
		this.body = body;
	}


}
